<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <css file="__PUBLIC__/css/base.css"/>
        <js file="__PUBLIC__/js/jquery-1.7.2.min.js">
        <js file="__PUBLIC__/js/news.js">
    </head>
    <body>
        <!--现在的位置-->
            <div class="position">
                <span class="word">您现在的位置： ->  </span>
                <a href="__APP__/news/index"  class="new_pos">内容管理</a>
                <span class="word"> -> 回收站 </span>
            </div>
            <div class="button1">
                 <a href="__APP__/news/add_show">发表文章</a>
            </div>
            <table class="table1">
                <thead>
                    <tr>
                        <td width="10"><input type="checkbox" class="del" name="del"/></td>
                        <td width="30">ID</td>
                        <td>标题</td>
                        <td width="160">栏目</td>
                        <td width="60">点击率</td>
                        <td width="100">作者</td>
                        <td width="150">发布时间</td>
                        <td width="230">操作</td>
                    </tr>
                </thead>
                <tbody>
                    <form action="__CONTROL__/clearall" method="post"> 
                    <list from="$news" name="$v">
                         <tr>
                            <td width="10"><input type="checkbox" class="del" name="del[{$v.id}]"/></td>
                            <td width="30">{$v.id}</td>
                            <td>{$v.title}</td>
                            <td width="160">{$v.cname}</td>
                            <td width="60">{$v.click}</td>
                            <td width="100">作者</td>
                            <td width="150">{$v.addtime|date:"y-m-d",@@}</td>
                            <td width="230" style="font-size:12px;">
                                <a href="__CONTROL__/restore/id/{$v.id}">还原</a> | 
                                <a href="__CONTROL__/del_news/id/{$v.id}">删除</a>
                            </td>
                        </tr>
                    </list>
                </tbody>  
            </table>
            <div class="send">
                    <input type="button" class="allchoose" value="全选">
                    <input type="button" class="nochoose" value="反选">
                    <input type="submit" name="submit" value="删除">
                </form>
            </div>
            <div class="page right" style="margin-top:10px;">{$page}</div>
        </body>
    </html>
